{"version":3,"file":"editor.map.js","names":["BX","namespace","UI","EntityEditor","this","_id","_settings","_entityTypeName","_entityId","_userFieldManager","_container","_layoutContainer","_buttonContainer","_createSectionButton","_configMenuButton","_configIcon","_pageTitle","_pageTitleInput","_buttonWrapper","_editPageTitleButton","_copyPageUrlButton","_actionTypes","_formElement","_ajaxForm","_ajaxForms","_reloadAjaxForm","_formSubmitHandler","delegate","onFormSubmit","_controllers","_controls","_activeControls","_toolPanel","_model","_scheme","_config","_context","_contextId","_externalContextId","_mode","EntityEditorMode","intermediate","_isNew","_readOnly","_enableRequiredUserFieldCheck","_enableAjaxForm","_enableSectionEdit","_enableSectionCreation","_enableModeToggle","_enableVisibilityPolicy","_enablePageTitleControls","_enableToolPanel","_isToolPanelAlwaysVisible","_enableBottomPanel","_enableConfigControl","_enableFieldsContextMenu","_serviceUrl","_htmlEditorConfigs","_pageTitleExternalClickHandler","onPageTitleExternalClick","_pageTitleKeyPressHandler","onPageTitleKeyPress","_validators","_modeSwitch","_delayedSaveHandle","_isEmbedded","_isRequestRunning","_isConfigMenuShown","_isReleased","_enableCloseConfirmation","_closeConfirmationHandler","onCloseConfirmButtonClick","_cancelConfirmationHandler","onCancelConfirmButtonClick","_windowResizeHandler","debounce","onResize","_sliderOpenHandler","onSliderOpen","_sliderCloseHandler","onSliderClose","_areAvailableSchemeElementsChanged","_availableSchemeElements","_dragPlaceHolder","_dragContainerController","_dropHandler","onDrop","_dragConfig","eventsNamespace","pageTitleInputClassName","_configurationFieldManager","_commonConfigEditUrl","prop","getString","moduleId","_restrictions","prototype","initialize","id","settings","type","isNotEmptyString","util","getRandomString","get","_entityTypeTitle","_useFieldsSearch","getBoolean","getInteger","isIdentifiable","_creationFieldPageUrl","container","isElementNode","_parentContainer","findParent","className","adjustSize","adjustTitle","formTagName","create","props","name","appendChild","initializeAjaxForm","getObject","initializeManagers","EntityEditorModeSwitch","editor","initialMode","view","parse","edit","getAvailableElements","initializeControllers","initializeControls","length","initializeControlsEditMode","initializeValidators","initializeToolPanel","isToolPanelAlwaysVisible","showToolPanel","initializeDragDrop","layout","attachToEvents","eventArgs","externalContext","context","entityTypeName","entityId","model","onCustomEvent","window","i","controllerData","getArray","controller","createController","push","elements","getElements","element","control","createControl","getType","getName","schemeElement","mode","setMode","notify","validatorConfigs","validator","createValidator","buttonsOrder","customButtons","EntityEditorToolPanel","document","body","visible","sectionDragModes","names","EditorDragObjectType","section","scope","EditorDragScope","form","modes","fieldDragModes","field","EntityConfigurationManager","configurationFieldManager","initializeCustomEditors","bind","addCustomEvent","deattachFromEvents","unbind","removeCustomEvent","release","clearLayout","releaseAjaxForm","releaseReloadAjaxForm","remove","event","entityTypeId","_entityTypeId","slider","top","SidePanel","Instance","getSliderByWindow","getSlider","isOpen","hasChangedControls","hasChangedControllers","denyAction","EditorAuxiliaryDialog","isItemOpened","title","message","content","zIndex","buttons","DialogButtonType","accept","text","callback","cancel","open","button","getDialog","close","getId","ajaxData","actionName","componentName","signedParameters","EntityEditorActionIds","defaultActionId","EntityEditorActionTypes","save","defaultAjaxForm","createAjaxForm","elementNode","enableRequiredUserFieldCheck","onSuccess","onSaveSuccess","onFailure","onSaveFailure","ADDITIONAL_ACTIONS","additionalActions","action","ID","ACTION_TYPE","ajaxForm","ACTION","setAttribute","options","callbacks","getElementNode","formData","ComponentAjax","AjaxForm","config","url","method","dataType","processData","onsuccess","data","Object","assign","ENABLE_REQUIRED_USER_FIELD_CHECK","getAjaxFormConfigData","ACTION_ENTITY_TYPE","_this","Type","isObject","keys","forEach","getEntityTypeName","getEntityId","getOwnerInfo","getMode","getContextId","getContext","getExternalContextId","getScheme","isVisible","offsetParent","isVisibilityPolicyEnabled","isBottomPanelEnabled","isConfigControlEnabled","isSectionEditEnabled","isSectionCreationEnabled","canChangeScheme","isFieldsContextMenuEnabled","isModeToggleEnabled","isNew","isReadOnly","isEmbedded","isEditInViewEnabled","getDetailManager","EntityDetailManager","getConfigurationFieldManager","getUserFieldManager","getAttributeManager","getHtmlEditorConfig","fieldName","EntityEditorValidatorFactory","getControlByIndex","index","getControlIndex","getControls","getControlCount","controlId","EntityEditorControlFactory","addControlAt","getWrapper","splice","moveControl","qty","lastIndex","currentIndex","anchor","moveSchemeElement","getSchemeElement","removeControl","processControlRemove","getControlById","child","getChildById","getControlByIdRecursive","controls","res","EntityEditorControl","EntityEditorColumn","EntityEditorSection","getChildren","getAllControls","result","concat","getActiveControlCount","getActiveControlIndex","getActiveControlById","recursive","getActiveControlByIndex","registerActiveControl","setActive","unregisterActiveControl","releaseActiveControls","modifiedActiveControls","toggleMode","isChanged","isWaitingForInput","processControlModeChange","hideToolPanel","processControlChange","params","processControlAdd","removeAvailableSchemeElement","processControlMove","EntityEditorField","addAvailableSchemeElement","children","processSchemeChange","getAvailableSchemeElements","notifyAvailableSchemeElementsChanged","getAvailableSchemeElementIndex","schemeElements","getAvailableSchemeElementByName","hasAvailableSchemeElements","getSchemeElementByName","findElementByName","isRecursive","processAvailableSchemeElementsChange","hasTransferableElements","excludedNames","excludedCount","isArray","columns","columnsIterator","columnsCount","sections","sectionsIterator","sectionsCount","isExcluded","sectionName","j","childElements","k","childrenCount","isTransferable","EntityEditorControllerFactory","processControllerChange","getControllers","getContainer","prepareContextDataLayout","parentName","key","hasOwnProperty","item","isPlainObject","value","userFieldLoaders","EntityUserFieldLayoutLoader","enableBatchMode","owner","layoutOptions","userFieldLoader","enableFocusGain","runBatch","isCaptionEditable","onPageTileClick","events","click","onCreateSectionButtonClick","configScope","getScope","configScopeCaption","EntityConfigScope","getCaption","common","onConfigMenuButtonClick","adjustButtons","refreshLayout","mergeEx","refreshViewModeLayout","isRefreshViewModeLayout","switchControlMode","checkModeOption","EntityEditorModeOptions","saveOnExit","getQueue","add","run","check","exclusive","queuedControlQty","activeControl","switchToViewMode","switchTitleMode","style","display","parentNode","insertBefore","focus","setTimeout","innerHTML","htmlspecialchars","caption","trim","captionTail","match","substr","cleanNode","createTextNode","wrapper","enableNarrowSize","offsetWidth","hasClass","addClass","removeClass","isScopeToggleEnabled","_sections","addButtonElement","position","setVisible","paddingBottom","height","showMessageDialog","dlg","getMessage","m","messages","getFormElement","getEntityTypeForAction","prepareControllersData","isFunction","onBeforesSaveControl","savePageTitle","setCaption","ACTION_ENTITY_ID","PARAMS","prepareCaptionData","ajax","performAction","actionId","performSaveChangedAction","direct","performDirectAction","setLocked","getActionEventArguments","submit","saveChanged","reset","addBatch","setRunAction","saveDelayed","delay","performSaveDelayedAction","clearTimeout","performSaveAction","EntityValidationResult","validate","then","_bizprocManager","onBeforeSave","promise","Promise","fulfill","getStatus","performInnerSaveAction","onAfterSave","getTopmostField","toolPanelOffset","scroll","pageXOffset","pageYOffset","saveControl","prepareSaveData","switchMode","saveData","reload","reloadActionFormData","reloadActionName","console","warn","onReloadSuccess","isRequestRunning","innerSave","onBeforeSubmit","isSchemeChanged","updateSchemeElement","setAvailableElements","enableCloseConfirmation","isBoolean","ajaxFormToSubmit","detailManager","prepareAnalyticParams","embedded","addUrlParams","openCancellationConfirmationDialog","innerCancel","rollback","_confirmationCancelDialog","addSchemeElementAt","removeSchemeElement","isChangeable","saveScheme","saveSchemeChanges","commitSchemeChanges","canChangeCommonConfiguration","isCanChangeCommonConfiguration","clearErrors","eventParams","Bitrix24","Slider","getTopSlider","getUrl","checkErrors","error","firstField","errorMessages","fieldId","showError","scrollAnimate","join","addError","entityData","redirectUrl","additionalEventParams","eventName","localStorage","set","location","replace","add_url_param","IFRAME","IFRAME_TYPE","needSwitchMode","setData","enableNotification","isRunning","complete","previousModel","clone","getData","onReload","response","errors","formatMoney","sum","currencyId","CURRENCY_ID","SUM","findOption","l","VALUE","NAME","prepareConfigMenuItems","items","onMenuItemClick","onclick","personal","_userScopes","userScopeId","attributes","custom","_userScopeId","delimiter","getServiceUrl","loadCustomHtml","actionData","sender","e","toLowerCase","EntitySchemeElement","sectionSettings","firstColumn","addChild","enableSaving","setTitleMode","menuItems","PopupMenu","show","getEventTarget","angle","autoHide","closeByEsc","onPopupShow","onPopupClose","destroy","onPopupDestroy","target","c","keyCode","onInterfaceToolbarMenuBuild","configMenuItems","getCommonConfigEditUrl","menuItem","resetConfig","setConfigScope","forceCommonConfigScopeForAll","createConfigScopeForCheckedUsers","width","undefined","menuWindow","setScope","enableReload","EntityEditorScopeConfig","toJSON","isCommonConfig","forceCommonScopeForAll","getConfigOption","defaultValue","getOption","setConfigOption","setOption","getDragConfig","typeId","hasPlaceHolder","createPlaceHolder","getIndex","EditorDragSectionPlaceholder","getPlaceHolder","removePlaceHolder","processDraggedItemDrop","dragContainer","draggedItem","containerCharge","getCharge","EditorSectionDragContainer","getEditor","getContextData","contextId","EditorSectionDragItem","itemCharge","getControl","placeholder","placeholderIndex","getConfigScope","prepareFieldLayoutOptions","hasContent","hasContentToDisplay","isNeedToDisplay","_showEmptyFields","isExternalLayoutResolversEnabled","showEmptyFields","_enableExternalLayoutResolvers","getRestriction","defaultInstance","setDefault","instance","getDefault","self","EntityEditorModeQueue","_items","findIndex","getLength","none","clear","process","_queue","_isRunning","_runHandle","_runAction","_editor","doRun","_isCommonConfig","_popup","_selector","_name","_nameInput","_usersInput","_usersInputTagSelector","_forceSetInput","_nameInputError","_usersInputError","_isOpened","_closeNotifier","_onSquareClick","onSquareClick","getSetting","isOpened","createPopup","PopupWindow","titleBar","closeIcon","padding","contentPadding","contentBackground","draggable","minWidth","maxWidth","prepareContent","prepareButtons","prepareNameControl","prepareUserSelectControl","prepareForceSetToUsersControl","marginBottom","borderBottom","attrs","EntitySelector","TagSelector","dialogOptions","entities","selectMode","renderTo","checked","Button","tag","Tag","LINK","color","Color","PRIMARY","preventDefault","processSave","processCancel","addCloseListener","listener","addListener","removeCloseListener","removeListener","createUserInfo","FORMATTED_NAME","htmlspecialcharsback","isCustomized","accessCodes","setName","runComponentAction","getSelectedItems","forceSetToUsers","categoryName","notifyShow","scopeId","parseInt","catch","fillErrors","getTags","map","createErrorElement","fieldNode","errorContainer","Notification","Center"],"sources":["editor.js"],"mappings":";;;;;AAMAA,GAA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